      define(a2, 1)
      define(a1, 7) 
      define(a0, 11)



      define(x_r, l0)
      define(y_r, l1)
	
     .global main
 main: 
	save %sp, -64, %sp
        mov 9, %x_r		 !initialize x
	sub %x_r, a2, %o0	 !(x - a2) into %o0 	
	sub %x_r, a1, %o1	 !(x - a1) into %o1	
	call .mul 
	nop 		!result in %o0
	sub %x_r, a0, %o1	 !(x - a0) into %o1, the divisor 
	call .div
	nop		 !result in %o0
	ov %o0, %y_r !store it in y 
	mov 1, %g1	 !trap dispatch
	ta 0		 !trap to system 
